package ${packageName}.service;
import java.io.Serializable;
import leap.orm.dao;
/**
 * @author jiangjintai
 *
 */
public interface BaseService <T,B extends Serializable>{
	Dao dao;
	
	T findById(B id);

	int insert(T entity);
	
	int update(T entity);
	
	void deleteById(B id);
	
	Dao getDao();
}
